From 2ef3c2d5242454e03c1070a3a7d0341cceb604b1 Mon Sep 17 00:00:00 2001 From: robertl Date: Fri, 15 Jul 2005 20:25:40 +0000 Subject: [PATCH] Free hint. --- gpsbabel/waypt.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gpsbabel/waypt.c b/gpsbabel/waypt.c index d51a73ee5..44e9e9ad3 100644 --- a/gpsbabel/waypt.c +++ b/gpsbabel/waypt.c @@ -291,6 +291,9 @@ waypt_free( waypoint *wpt ) if (wpt->gc_data.placer) { xfree(wpt->gc_data.placer); } + if (wpt->gc_data.hint) { + xfree (wpt->gc_data.hint); + } if ( wpt->an1_extras ) { (*(wpt->an1_extras->destroy))((void *)wpt->an1_extras ); xfree( wpt->an1_extras ); -- 2.30.2